luci-app-keepalived: fix typo in option name: fail -> fall
authorHannu Nyman <[email protected]>
Sun, 28 Sep 2025 06:32:20 +0000 (09:32 +0300)
committerHannu Nyman <[email protected]>
Sun, 28 Sep 2025 06:32:20 +0000 (09:32 +0300)
Fix typo in the option name: 'fall' instead of 'fail'
Fixes #7965

Signed-off-by: Hannu Nyman <[email protected]>
(cherry picked from commit f51492d61038ed18ceccdfd5672da80515a0b0d3)

applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/script.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/servers.js

index c92d48a3c13d80d427abddcc0e3d077567536c10..a0568b00ada77b5d79852948112be922ad2af477 100644 (file)
@@ -86,7 +86,7 @@ return view.extend({
                o.optional = true;
                o.datatype = 'uinteger';
 
-               o = s.option(form.Value, 'fail', _('Fail'),
+               o = s.option(form.Value, 'fall', _('Fall'),
                        _('Required number of successes for KO transition'));
                o.optional = true;
                o.datatype = 'uinteger';
index 744a0f8aca6842341cc18fa0dc8877bcd67aff7b..6f6e2a62923da80abade0d6010c9e56d1b472d74 100644 (file)
@@ -110,7 +110,7 @@ return view.extend({
                o.datatype = 'uinteger';
                o.modalonly = true;
 
-               o = s.taboption('advanced', form.Value, 'fail', _('Fail'),
+               o = s.taboption('advanced', form.Value, 'fall', _('Fall'),
                        _('Required number of successes for KO transition'));
                o.optional = true;
                o.datatype = 'uinteger';